[INFO] cloning repository https://github.com/WinThant16/CS152-CompilerDesignProject
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WinThant16/CS152-CompilerDesignProject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinThant16%2FCS152-CompilerDesignProject", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinThant16%2FCS152-CompilerDesignProject'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 09844b626588ca3ff3bab5344424f9269fbe1d93
[INFO] fixing WinThant16/CS152-CompilerDesignProject against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinThant16%2FCS152-CompilerDesignProject" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/WinThant16/CS152-CompilerDesignProject
[INFO] finished tweaking git repo https://github.com/WinThant16/CS152-CompilerDesignProject
[INFO] tweaked toml for git repo https://github.com/WinThant16/CS152-CompilerDesignProject written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/WinThant16/CS152-CompilerDesignProject on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/WinThant16/CS152-CompilerDesignProject already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde
[INFO] running `Command { std: "docker" "start" "ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking rustcompiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |       format!("_temp{}", VAR_NUM)
[INFO] [stdout]    |                          ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |       format!("loopbegin{}", whileloopbegin_num)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |       format!("endloop_{}", whileloopend_num)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |       format!("iftrue{}", iftrue_num)
[INFO] [stdout]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |       format!("endif{}", endif_num)
[INFO] [stdout]    |                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |       format!("else{}", else_num)
[INFO] [stdout]    |                         ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1023:19
[INFO] [stdout]      |
[INFO] [stdout] 1023 |                   WHILE_LABEL_STACK.push(while_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1024:19
[INFO] [stdout]      |
[INFO] [stdout] 1024 |                   WHILE_LABEL_STACK.push(endwhile_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1052:19
[INFO] [stdout]      |
[INFO] [stdout] 1052 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1053:19
[INFO] [stdout]      |
[INFO] [stdout] 1053 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1110:22
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1113:67
[INFO] [stdout]      |
[INFO] [stdout] 1113 |                    code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 2]);
[INFO] [stdout]      |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1122:22
[INFO] [stdout]      |
[INFO] [stdout] 1122 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1125:66
[INFO] [stdout]      |
[INFO] [stdout] 1125 |                   code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 1]);
[INFO] [stdout]      |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |       format!("_temp{}", VAR_NUM)
[INFO] [stdout]    |                          ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |       format!("loopbegin{}", whileloopbegin_num)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: rustcompiler v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |       format!("endloop_{}", whileloopend_num)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustcompiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |       format!("iftrue{}", iftrue_num)
[INFO] [stdout]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |       format!("endif{}", endif_num)
[INFO] [stdout]    |                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |       format!("else{}", else_num)
[INFO] [stdout]    |                         ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1023:19
[INFO] [stdout]      |
[INFO] [stdout] 1023 |                   WHILE_LABEL_STACK.push(while_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1024:19
[INFO] [stdout]      |
[INFO] [stdout] 1024 |                   WHILE_LABEL_STACK.push(endwhile_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1052:19
[INFO] [stdout]      |
[INFO] [stdout] 1052 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1053:19
[INFO] [stdout]      |
[INFO] [stdout] 1053 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1110:22
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1113:67
[INFO] [stdout]      |
[INFO] [stdout] 1113 |                    code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 2]);
[INFO] [stdout]      |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1122:22
[INFO] [stdout]      |
[INFO] [stdout] 1122 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1125:66
[INFO] [stdout]      |
[INFO] [stdout] 1125 |                   code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 1]);
[INFO] [stdout]      |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |         ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 115 +       if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if(param == "%int"){
[INFO] [stdout]     |           ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 126 -         if(param == "%int"){
[INFO] [stdout] 126 +         if param == "%int" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:131:11
[INFO] [stdout]     |
[INFO] [stdout] 131 |         if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |           ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -         if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 131 +         if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |       if(array_size.parse::<i32>().unwrap() <= 0){
[INFO] [stdout]     |         ^                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -       if(array_size.parse::<i32>().unwrap() <= 0){
[INFO] [stdout] 143 +       if array_size.parse::<i32>().unwrap() <= 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |         ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 149 +       if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |         ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 160 +       if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |           if(param.ends_with("(")){
[INFO] [stdout]     |             ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -           if(param.ends_with("(")){
[INFO] [stdout] 183 +           if param.ends_with("(") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |           if(!matches!(data_type, &DataType::Array)){
[INFO] [stdout]     |             ^                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 194 -           if(!matches!(data_type, &DataType::Array)){
[INFO] [stdout] 194 +           if !matches!(data_type, &DataType::Array) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:203:11
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if(seen_array_type){
[INFO] [stdout]     |           ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 203 -         if(seen_array_type){
[INFO] [stdout] 203 +         if seen_array_type {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |           if(matches!(data_type, &DataType::Array)){
[INFO] [stdout]     |             ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -           if(matches!(data_type, &DataType::Array)){
[INFO] [stdout] 212 +           if matches!(data_type, &DataType::Array) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |   if(main_function_seen == false){
[INFO] [stdout]     |     ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 220 -   if(main_function_seen == false){
[INFO] [stdout] 220 +   if main_function_seen == false {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:290:12
[INFO] [stdout]     |
[INFO] [stdout] 290 |         if (semantics_check(generated_code.clone())){
[INFO] [stdout]     |            ^                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 290 -         if (semantics_check(generated_code.clone())){
[INFO] [stdout] 290 +         if semantics_check(generated_code.clone()) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:818:5
[INFO] [stdout]     |
[INFO] [stdout] 818 |   if(params.len() > 0){
[INFO] [stdout]     |     ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 818 -   if(params.len() > 0){
[INFO] [stdout] 818 +   if params.len() > 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:991:21
[INFO] [stdout]     |
[INFO] [stdout] 991 |                   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout]     |                     ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 991 -                   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout] 991 +                   if matches!(peek_result(tokens, *index)?, Token::LeftBracket) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1110:21
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                     ^                            ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1110 -                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout] 1110 +                   if WHILE_LABEL_STACK.len() == 0 {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1122:21
[INFO] [stdout]      |
[INFO] [stdout] 1122 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                     ^                            ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1122 -                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout] 1122 +                   if WHILE_LABEL_STACK.len() == 0 {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1158:5
[INFO] [stdout]      |
[INFO] [stdout] 1158 |   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout]      |     ^                                                          ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1158 -   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout] 1158 +   if matches!(peek_result(tokens, *index)?, Token::LeftBracket) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1211:5
[INFO] [stdout]      |
[INFO] [stdout] 1211 |   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout]      |     ^                                                         ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1211 -   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout] 1211 +   if matches!(peek_result(tokens, *index)?,Token::LeftBracket) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1233:5
[INFO] [stdout]      |
[INFO] [stdout] 1233 |   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout]      |     ^                                                         ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1233 -   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout] 1233 +   if matches!(peek_result(tokens, *index)?,Token::LeftBracket) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |         ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 115 +       if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if(param == "%int"){
[INFO] [stdout]     |           ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 126 -         if(param == "%int"){
[INFO] [stdout] 126 +         if param == "%int" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:131:11
[INFO] [stdout]     |
[INFO] [stdout] 131 |         if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |           ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -         if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 131 +         if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |       if(array_size.parse::<i32>().unwrap() <= 0){
[INFO] [stdout]     |         ^                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -       if(array_size.parse::<i32>().unwrap() <= 0){
[INFO] [stdout] 143 +       if array_size.parse::<i32>().unwrap() <= 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |         ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 149 +       if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout]     |         ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -       if(symbol_table.contains_key(&key_name)){
[INFO] [stdout] 160 +       if symbol_table.contains_key(&key_name) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |           if(param.ends_with("(")){
[INFO] [stdout]     |             ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -           if(param.ends_with("(")){
[INFO] [stdout] 183 +           if param.ends_with("(") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |           if(!matches!(data_type, &DataType::Array)){
[INFO] [stdout]     |             ^                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 194 -           if(!matches!(data_type, &DataType::Array)){
[INFO] [stdout] 194 +           if !matches!(data_type, &DataType::Array) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:203:11
[INFO] [stdout]     |
[INFO] [stdout] 203 |         if(seen_array_type){
[INFO] [stdout]     |           ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 203 -         if(seen_array_type){
[INFO] [stdout] 203 +         if seen_array_type {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |           if(matches!(data_type, &DataType::Array)){
[INFO] [stdout]     |             ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -           if(matches!(data_type, &DataType::Array)){
[INFO] [stdout] 212 +           if matches!(data_type, &DataType::Array) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |   if(main_function_seen == false){
[INFO] [stdout]     |     ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 220 -   if(main_function_seen == false){
[INFO] [stdout] 220 +   if main_function_seen == false {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:290:12
[INFO] [stdout]     |
[INFO] [stdout] 290 |         if (semantics_check(generated_code.clone())){
[INFO] [stdout]     |            ^                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 290 -         if (semantics_check(generated_code.clone())){
[INFO] [stdout] 290 +         if semantics_check(generated_code.clone()) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:818:5
[INFO] [stdout]     |
[INFO] [stdout] 818 |   if(params.len() > 0){
[INFO] [stdout]     |     ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 818 -   if(params.len() > 0){
[INFO] [stdout] 818 +   if params.len() > 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:991:21
[INFO] [stdout]     |
[INFO] [stdout] 991 |                   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout]     |                     ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 991 -                   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout] 991 +                   if matches!(peek_result(tokens, *index)?, Token::LeftBracket) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1110:21
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                     ^                            ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1110 -                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout] 1110 +                   if WHILE_LABEL_STACK.len() == 0 {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1122:21
[INFO] [stdout]      |
[INFO] [stdout] 1122 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                     ^                            ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1122 -                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout] 1122 +                   if WHILE_LABEL_STACK.len() == 0 {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1158:5
[INFO] [stdout]      |
[INFO] [stdout] 1158 |   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout]      |     ^                                                          ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1158 -   if(matches!(peek_result(tokens, *index)?, Token::LeftBracket)){
[INFO] [stdout] 1158 +   if matches!(peek_result(tokens, *index)?, Token::LeftBracket) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1211:5
[INFO] [stdout]      |
[INFO] [stdout] 1211 |   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout]      |     ^                                                         ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1211 -   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout] 1211 +   if matches!(peek_result(tokens, *index)?,Token::LeftBracket) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1233:5
[INFO] [stdout]      |
[INFO] [stdout] 1233 |   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout]      |     ^                                                         ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1233 -   if(matches!(peek_result(tokens, *index)?,Token::LeftBracket)){
[INFO] [stdout] 1233 +   if matches!(peek_result(tokens, *index)?,Token::LeftBracket) {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Token`
[INFO] [stdout]     --> src/main.rs:1554:39
[INFO] [stdout]      |
[INFO] [stdout] 1554 |     use crate::{lex, parse_statement, Token};
[INFO] [stdout]      |                                       ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:11
[INFO] [stdout]     |
[INFO] [stdout] 121 |       let mut params = line2.split_whitespace().skip(2);
[INFO] [stdout]     |           ----^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `codenode` is never read
[INFO] [stdout]    --> src/main.rs:963:29
[INFO] [stdout]     |
[INFO] [stdout] 963 | ...                   codenode = None;
[INFO] [stdout]     |                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `codenode` is never read
[INFO] [stdout]    --> src/main.rs:970:25
[INFO] [stdout]     |
[INFO] [stdout] 970 |                         codenode = None;
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `codenode` is never read
[INFO] [stdout]     --> src/main.rs:1133:17
[INFO] [stdout]      |
[INFO] [stdout] 1133 |                 codenode = None;
[INFO] [stdout]      |                 ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1174:9
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     let mut right_expr = parse_multiply_expression(tokens, index)?; // Parse the next higher precedence expression
[INFO] [stdout]      |         ----^^^^^^^^^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1197:11
[INFO] [stdout]      |
[INFO] [stdout] 1197 |       let mut right_expr = parse_term(tokens, index)?; // Parse the next term
[INFO] [stdout]      |           ----^^^^^^^^^^
[INFO] [stdout]      |           |
[INFO] [stdout]      |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1230:7
[INFO] [stdout]      |
[INFO] [stdout] 1230 |   let mut instr = "";
[INFO] [stdout]      |       ----^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]     --> src/main.rs:1230:7
[INFO] [stdout]      |
[INFO] [stdout] 1230 |   let mut instr = "";
[INFO] [stdout]      |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `else_num` is never used
[INFO] [stdout]   --> src/main.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | static mut else_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_else_label` is never used
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn create_else_label() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]     --> src/interpreter.rs:1498:11
[INFO] [stdout]      |
[INFO] [stdout] 1498 |     Label(usize),
[INFO] [stdout]      |     ----- ^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     field in this variant
[INFO] [stdout]      |
[INFO] [stdout]      = note: `Bytecode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]      |
[INFO] [stdout] 1498 -     Label(usize),
[INFO] [stdout] 1498 +     Label(()),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |       format!("_temp{}", VAR_NUM)
[INFO] [stdout]    |                          ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:11
[INFO] [stdout]     |
[INFO] [stdout] 121 |       let mut params = line2.split_whitespace().skip(2);
[INFO] [stdout]     |           ----^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `whileloopbegin_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | static mut whileloopbegin_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 29 - static mut whileloopbegin_num: i64 = 0;
[INFO] [stdout] 29 + static mut WHILELOOPBEGIN_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |       format!("loopbegin{}", whileloopbegin_num)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `whileloopend_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | static mut whileloopend_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 37 - static mut whileloopend_num: i64 = 0;
[INFO] [stdout] 37 + static mut WHILELOOPEND_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |       format!("endloop_{}", whileloopend_num)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `iftrue_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | static mut iftrue_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 45 - static mut iftrue_num: i64 = 0;
[INFO] [stdout] 45 + static mut IFTRUE_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |       format!("iftrue{}", iftrue_num)
[INFO] [stdout]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `endif_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | static mut endif_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 53 - static mut endif_num: i64 = 0;
[INFO] [stdout] 53 + static mut ENDIF_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |       format!("endif{}", endif_num)
[INFO] [stdout]    |                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `else_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | static mut else_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 61 - static mut else_num: i64 = 0;
[INFO] [stdout] 61 + static mut ELSE_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |       format!("else{}", else_num)
[INFO] [stdout]    |                         ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1023:19
[INFO] [stdout]      |
[INFO] [stdout] 1023 |                   WHILE_LABEL_STACK.push(while_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1024:19
[INFO] [stdout]      |
[INFO] [stdout] 1024 |                   WHILE_LABEL_STACK.push(endwhile_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `statementCode` should have a snake case name
[INFO] [stdout]     --> src/main.rs:1026:25
[INFO] [stdout]      |
[INFO] [stdout] 1026 |                 let mut statementCode: String = String::from("");
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `statement_code`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1052:19
[INFO] [stdout]      |
[INFO] [stdout] 1052 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1053:19
[INFO] [stdout]      |
[INFO] [stdout] 1053 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `statementCode` should have a snake case name
[INFO] [stdout]     --> src/main.rs:1069:25
[INFO] [stdout]      |
[INFO] [stdout] 1069 |                 let mut statementCode: String = String::from("");
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `statement_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1110:22
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1113:67
[INFO] [stdout]      |
[INFO] [stdout] 1113 |                    code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 2]);
[INFO] [stdout]      |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1122:22
[INFO] [stdout]      |
[INFO] [stdout] 1122 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1125:66
[INFO] [stdout]      |
[INFO] [stdout] 1125 |                   code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 1]);
[INFO] [stdout]      |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `codenode` is never read
[INFO] [stdout]    --> src/main.rs:963:29
[INFO] [stdout]     |
[INFO] [stdout] 963 | ...                   codenode = None;
[INFO] [stdout]     |                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `codenode` is never read
[INFO] [stdout]    --> src/main.rs:970:25
[INFO] [stdout]     |
[INFO] [stdout] 970 |                         codenode = None;
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `codenode` is never read
[INFO] [stdout]     --> src/main.rs:1133:17
[INFO] [stdout]      |
[INFO] [stdout] 1133 |                 codenode = None;
[INFO] [stdout]      |                 ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1174:9
[INFO] [stdout]      |
[INFO] [stdout] 1174 |     let mut right_expr = parse_multiply_expression(tokens, index)?; // Parse the next higher precedence expression
[INFO] [stdout]      |         ----^^^^^^^^^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1197:11
[INFO] [stdout]      |
[INFO] [stdout] 1197 |       let mut right_expr = parse_term(tokens, index)?; // Parse the next term
[INFO] [stdout]      |           ----^^^^^^^^^^
[INFO] [stdout]      |           |
[INFO] [stdout]      |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustcompiler` (bin "rustcompiler") due to 14 previous errors; 37 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1230:7
[INFO] [stdout]      |
[INFO] [stdout] 1230 |   let mut instr = "";
[INFO] [stdout]      |       ----^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr`
[INFO] [stdout]     --> src/main.rs:1230:7
[INFO] [stdout]      |
[INFO] [stdout] 1230 |   let mut instr = "";
[INFO] [stdout]      |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `else_num` is never used
[INFO] [stdout]   --> src/main.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | static mut else_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_else_label` is never used
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn create_else_label() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]     --> src/interpreter.rs:1498:11
[INFO] [stdout]      |
[INFO] [stdout] 1498 |     Label(usize),
[INFO] [stdout]      |     ----- ^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     field in this variant
[INFO] [stdout]      |
[INFO] [stdout]      = note: `Bytecode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]      |
[INFO] [stdout] 1498 -     Label(usize),
[INFO] [stdout] 1498 +     Label(()),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |       format!("_temp{}", VAR_NUM)
[INFO] [stdout]    |                          ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `whileloopbegin_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | static mut whileloopbegin_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 29 - static mut whileloopbegin_num: i64 = 0;
[INFO] [stdout] 29 + static mut WHILELOOPBEGIN_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |       format!("loopbegin{}", whileloopbegin_num)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `whileloopend_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | static mut whileloopend_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 37 - static mut whileloopend_num: i64 = 0;
[INFO] [stdout] 37 + static mut WHILELOOPEND_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |       format!("endloop_{}", whileloopend_num)
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `iftrue_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | static mut iftrue_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 45 - static mut iftrue_num: i64 = 0;
[INFO] [stdout] 45 + static mut IFTRUE_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |       format!("iftrue{}", iftrue_num)
[INFO] [stdout]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `endif_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | static mut endif_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 53 - static mut endif_num: i64 = 0;
[INFO] [stdout] 53 + static mut ENDIF_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |       format!("endif{}", endif_num)
[INFO] [stdout]    |                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `else_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | static mut else_num: i64 = 0;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 61 - static mut else_num: i64 = 0;
[INFO] [stdout] 61 + static mut ELSE_NUM: i64 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |       format!("else{}", else_num)
[INFO] [stdout]    |                         ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1023:19
[INFO] [stdout]      |
[INFO] [stdout] 1023 |                   WHILE_LABEL_STACK.push(while_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1024:19
[INFO] [stdout]      |
[INFO] [stdout] 1024 |                   WHILE_LABEL_STACK.push(endwhile_label.clone());
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `statementCode` should have a snake case name
[INFO] [stdout]     --> src/main.rs:1026:25
[INFO] [stdout]      |
[INFO] [stdout] 1026 |                 let mut statementCode: String = String::from("");
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `statement_code`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1052:19
[INFO] [stdout]      |
[INFO] [stdout] 1052 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1053:19
[INFO] [stdout]      |
[INFO] [stdout] 1053 |                   WHILE_LABEL_STACK.pop();
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `statementCode` should have a snake case name
[INFO] [stdout]     --> src/main.rs:1069:25
[INFO] [stdout]      |
[INFO] [stdout] 1069 |                 let mut statementCode: String = String::from("");
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `statement_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1110:22
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1113:67
[INFO] [stdout]      |
[INFO] [stdout] 1113 |                    code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 2]);
[INFO] [stdout]      |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1122:22
[INFO] [stdout]      |
[INFO] [stdout] 1122 |                   if(WHILE_LABEL_STACK.len() == 0){
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1125:66
[INFO] [stdout]      |
[INFO] [stdout] 1125 |                   code = format!("%jmp :{}\n", WHILE_LABEL_STACK[WHILE_LABEL_STACK.len() - 1]);
[INFO] [stdout]      |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustcompiler` (bin "rustcompiler" test) due to 14 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde", kill_on_drop: false }`
[INFO] [stdout] ed41106a16e499d3ca67d2461e62fd640d9a57e4c059604b2ae51b630c87efde
